package graph;


import java.util.ArrayList;

/**
 * @author Liaorun
 */
public class Node {

    public int value;
    /**
     * 入度
     */
    public int in;
    /**
     * 出度
     */
    public int out;

    /**
     * 指向的点
     */
    public ArrayList<Node> nexts;
    /**
     * 代表出度的边
     */
    public ArrayList<Edge> edges;

    public Node(int value) {
        this.value = value;
    }


    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }
}
